﻿ 

namespace NTTDATA.BEENChina.ResultCertification.Logic
{
    public class AutoRun
    {

        public void Open()
        {
            if (WorkingState.GetInstance().CheckMonitor == null)
            {
                WorkingState.GetInstance().CheckMonitor = new CheckMonitor();
                WorkingState.GetInstance().CheckMonitor.Start();

                ActionMessage.GetInstance().onProcessMessage(@"--------- Auto Running -----------", EnumProcessModel.取入数据);

            }
            else
            {
                WorkingState.GetInstance().Stop = false;
            }

        }
    }
}
